package com.kingyun.gpsinspection.purificationservice.facade.service.iam.adm;

import com.kingyun.gpsinspection.purificationservice.facade.model.iam.adm.MakeHoliday;
import com.kingyun.gpsinspection.purificationservice.facade.model.jsm.EmployeeVo;

import java.util.Map;

/**
 * 补休假规则维护接口
 */
public interface MakeHolidayService {

    /**
     * 新增补休规则
     * @param makeHoliday
     * @param employeeVo
     * @return
     */
    Map<String,Object> saveMakeHoliday(MakeHoliday makeHoliday, EmployeeVo employeeVo);


    /**
     * 修改补休规则
     * @param makeHoliday
     * @param employeeVo
     * @return
     */
    Map<String,Object> updateMakeHoliday(MakeHoliday makeHoliday, EmployeeVo employeeVo);


    /**
     * 查询所有的补休规则
     * @param makeHoliday
     * @return
     */
    Map<String,Object> listMakeHolidayByPage(MakeHoliday makeHoliday);


    /**
     * 删除补休规则
     * @param id
     * @return
     */
    Map<String,Object> deleteById(String id);


    /**
     * 得到剩余的天数
     * @param month
     * @param employeeId
     * @return
     */
    Integer getRemianDays(String month, String employeeId);


    /**
     * 得到补休规则
     * @param id
     * @return
     */
    MakeHoliday getById(String id);

}
